package com.htht.smartschool.model.card;

import com.htht.smartschool.common.model.Entity;

/**
 * TFamilyphone entity. @author MyEclipse Persistence Tools
 */

public class TFamilyphone extends Entity implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields

	private String imei = "";
	private String familyphone = "";
	private String number = "";
	private String time = "";
	private String operation = "";
	private String remark = "";
	private String flag = "";
	private String msg = "";

	// Constructors

	/** default constructor */
	public TFamilyphone() {
	}

	/** full constructor */
	public TFamilyphone(String imei, String familyphone, String remark) {
		this.imei = imei;
		this.familyphone = familyphone;
		this.remark = remark;
	}

	// Property accessors

	public String getImei() {
		return this.imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getFamilyphone() {
		return this.familyphone;
	}

	public void setFamilyphone(String familyphone) {
		this.familyphone = familyphone;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getOperation() {
		return operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
	@Override  
	public boolean equals(Object obj) {  
		TFamilyphone s=(TFamilyphone)obj;   
		return imei.equals(s.imei) && familyphone.equals(s.familyphone)
			&& number.equals(s.number) && time.equals(s.time)
			&& operation.equals(s.operation) && remark.equals(s.remark)
			&& flag.equals(s.flag) && msg.equals(s.msg);   
	}  
	@Override  
	public int hashCode() {  
		String in = imei + familyphone + number + time + operation + remark + msg + flag;  
		return in.hashCode();  
	}  
}